home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 7 / Apprentice-Release7.iso / Demos / Tangent Systems / BuildSim 2.0b34.sit / BuildSim 2.0b34 / BuildSim AutoCode Support / headers / BSProject.h < prev    next >
Text File  |  1997-08-07  |  1KB  |  69 lines

  1. ////////////////////////////////
  2. //
  3. // BSProject.h
  4. //
  5. // © 1994, 1995, 1996, 1997 Tangent Systems
  6. //
  7. // All rights reserved.
  8. //
  9. // This file contains confidential and proprietary information. No Portion
  10. // of this file may be reproduced, by any means, without the written
  11. // permission of Tangent Systems
  12. //
  13. // Tangent Systems makes no representation or warranties about the suitibility of the software,
  14. // either express or implied, including but not limited to the implied warranties of merchantability,
  15. // fitness for a particular purpose, or non-infringment.
  16. //
  17. // Tangent Systems shall not be liable for any damages suffered by licensee as a result of using,
  18. // modifying or distributing this software or derivatives.
  19. //
  20. // Description:
  21. //
  22. //
  23. //
  24. // Author: John H. Shackelford, Tangent Systems
  25. // email: jshack@tangentsys.com
  26. //
  27. // Date: 1997/06/20
  28. // Version: A
  29. //
  30. // Revision History:
  31. // 1997/06/20 Revision A -     Initial Release
  32. //
  33. ////////////////////////////////    
  34.     
  35. #ifndef _BSPROJECT_H
  36. #define _BSPROJECT_H
  37.  
  38. #define MAX_BLOCKS 20
  39.  
  40.  
  41.  
  42. //class TSBuildBlock;
  43. #include "TSBuildBlock.h"
  44.  
  45. class BSProject
  46. {
  47. public:
  48.  
  49.     BSProject(Real TheStart, Real TheDelta, long Steps);
  50.     ~BSProject();
  51.     
  52.     int addBlock(TSBuildBlock* aBlock);
  53.     int runSimulation();
  54. private:
  55.     //Attributes
  56.     TSBuildBlock* BuildBlocks[MAX_BLOCKS];
  57.     Real *SimTimeVector;
  58.     long     BlocksCount;
  59.     long    TimeVectorLength;
  60.  
  61.     Real    StartTime;
  62.     Real  TimeDelta;
  63.     
  64.     // Methods
  65.     void buildTimeVector();
  66.     void initializeForSim();
  67.             
  68. };
  69. #endif